/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.factory.web.service;

import com.factory.web.json.Plan;
import java.util.List;
import org.springframework.security.access.prepost.PreAuthorize;

/**
 *
 * @author milos
 */
    @PreAuthorize(
            "hasRole('ROLE_ADMIN') or " +
            "hasRole('ROLE_USER')")    
public interface SchedulerServiceInterface {
    public List<Plan> getPlans(String userId, String passwordHash, String inputId);
}
